Function clone

  • Makes a deep copy of the src object using JSON stringify and parse

    Parameters

    • src: any

    Returns any