The type parameter specifies the lifetime of the object to be cloned. The types of lifetime that can be specified by using this parameter are listed in the following table.
Type | Description |
---|---|
0 | Indicated by the class specified in the pOid parameter |
1 | Transient object |
2 | Persistent object |
3 | Shared transient object |
Types 1, 2, and 3 take precedence over type 0 (specified by the class of the pOid parameter.)