I want to add to John Homers post, that the default depth is 1. So, regarding the documentation I would suggest to add an integer for the depth.
[Management.Automation.PSSerializer]::Deserialize( [Management.Automation.PSSerializer]::Serialize( $InputObject, 100 ))