Bugfix

Fixes a bug where the ObjectCopier misbehave when the objects to be copied have shadowed fields in the hierarchy.