clone method

clone

Creates a new object that is a copy of the current instance.

Returns

A new object that is a copy of this instance.

def clone(self):
    ...

See Also