Function clone

  • Create new deep copy of input value.

    In case of Objects or Arrays, new instances are created with elements obtained by recursivly calling clone in input argument values.

    Type Parameters

    • T

    Parameters

    Returns T