The jomCloneObject call, shown in the following example, is used to create a shallow copy (that is, clone) of the object specified in the pOid parameter.
int jomCloneObject(const DskHandle *pHandle, const DskObjectId *pOid, DskBuffer **ppBuffer, ClassID classId, BYTE type, Boolean construct, UInt32 lineNo)
All common attributes (that is, all properties of primitive types that exist on the source and target object classes) are copied from the source object to the target object.
References are left with a null value. Exclusive subobject collections are left empty.
The parameters for this call are described in the following subsections.