Skip to Content
0
Former Member
Jul 20, 2005 at 04:42 PM

Cloning Model Objects

31 Views

Hello,

I want to copy (clone) a model object. The model object consists of attributes and other (deep) structures (position, sub-position etc.).

I don't want to copy each attribute of each structure. Is there a way to make a copy of the whole model object recursively, without knowing how the structure looks like, so that I can use this clone-method for all model objects?

Thanks for any help,

Thomas