What's it called when you tell an object to clone all of its arguments (like in deep cloning), but the top-level object isn't changed?
I need to implement this sort of method in a program, and I'm just trying to figure out what to call the method.
Say that we're cloning Foo, which is referenced by several other objects. If we were doing deep-level cloning, then our clone's arguments would be inaccessible to other objects which reference Foo. In this (currently unidentified) type of cloning, if we clone Foo, then other objects referencing Foo would have access to the the newly cloned arguments.
forall attr in obj: obj.attr := deepcopy(obj.attr)
Is that correct? – thebjorn