export const deepClone = (obj: T): T => { return JSON.parse(JSON.stringify(obj)); };