• Clone an object to produce an identical yet distinct reference and corresponding object Uses JSON.parse(JSON.stringify(o))

    Parameters

    • o: any

    Returns any