How to Clone Class Objects in TypeScript Without Constructor Errors | CodeTrail