Add support for copying an object to an object::with_zone.

With test.