I am clone a object like below since if I do some operation in the parent component the child component is getting triggered which should not be the case so cloning the object.
result is the data which is emitted from child as FormGroup in parent component trying to clone it. the clone works but if i try to get the properties of FormGroup gives as undefined.
let form=Object.assign({},result);
form.get('somename');