Parameters
- oid
- The OID of the object to duplicate.
Return Value
A new copy of the object.
This method should only be called for independent objects.
Calling DuplicateObject is equivalent to calling ADTObject.Duplicate but eliminates the need to fetch the job from the server first.
This method is intended for use in scenarios where you want to duplicate a top-level object and edit the new object in a different DataContext than the original (without this method you would need to fetch the object in the new context, then call Duplicate on the object to create the new copy).