def clone(self, name=None, parent=None, worldspace=False):
    'Return a clone of self\n\n        A "clone" assignes the .outMesh attribute of a mesh node\n        to the `.inMesh` of the resulting clone.\n\n        Supports:\n            - mesh\n\n        Arguments:\n            name (str, optional): Name of newly created clone\n            parent (DagNode, optional): Parent to newly cloned node\n            worldspace (bool, optional): Translate output to worldspace\n\n        '
    if (self.isA(kShape) and (self.typeName == 'mesh')):
        assert (parent is not None), 'mesh cloning requires parent argument'
        (name or (parent.name() + 'Clone'))
        with DagModifier() as mod:
            mesh = mod.createNode('mesh', name, parent)
            (mesh['inMesh'] << self['outMesh'])
        return mesh
    else:
        raise TypeError(('Unsupported clone target: %s' % self))
Return a clone of self

A "clone" assignes the .outMesh attribute of a mesh node
to the `.inMesh` of the resulting clone.

Supports:
    - mesh

Arguments:
    name (str, optional): Name of newly created clone
    parent (DagNode, optional): Parent to newly cloned node
    worldspace (bool, optional): Translate output to worldspace
def clone(self, name=None, parent=None, worldspace=False):
    'Return a clone of self\n\n        A "clone" assignes the .outMesh attribute of a mesh node\n        to the `.inMesh` of the resulting clone.\n\n        Supports:\n            - mesh\n\n        Arguments:\n            name (str, optional): Name of newly created clone\n            parent (DagNode, optional): Parent to newly cloned node\n            worldspace (bool, optional): Translate output to worldspace\n\n        '
    if (self.isA(kShape) and (self.typeName == 'mesh')):
        assert (parent is not None), 'mesh cloning requires parent argument'
        (name or (parent.name() + 'Clone'))
        with DagModifier() as mod:
            mesh = mod.createNode('mesh', name, parent)
            (mesh['inMesh'] << self['outMesh'])
        return mesh
    else:
        raise TypeError(('Unsupported clone target: %s' % self))