Note that freezing an object structure and immediately thawing it actually achieves a deep cloning of that structure: