cloneModelObject function

Create a copy of a Common Data Model ModelObject.

Description

The cloneModelObject function creates a copy of a Common Data Model (CDM) ModelObject, recursing indefinitely through any child ModelObject attributes.

Function syntax

cloneModelObject (mo)

Parameters

mo
The CDM ModelObject to clone

Returns

The function returns the clone of the CDM ModelObject.

Exceptions

None.