Copy recursively an object and its subobjects. The surfaces in the object tree are not copied, only new references to them are made.
The following optional flags may be specified:
Clearing the transformation matrix has the affect of undoing all rotate, move and scale operations on the object. This repositions the object to the world center, which often makes moving the object to another location easier. The transformations on subobjects are not cleared, leaving the structure of composite objects intact.