1
2
3
export const deepClone = (obj: object) => {
return JSON.parse(JSON.stringify(obj));
}