import rfdc from 'rfdc' ; const clone = rfdc ( { circles : true } ) ; /**
 * Deep clones a object in the most easiest manner.
 */ export function cloneObject < T extends Record < PropertyKey , any > > ( obj ) { return clone ( obj ) ; }