I'd like to copy copy the values of an object (item) to another one (editedItem) to put it into a form and modify it while the original object still is displayed unchanged.
<a (click)="editedItem=item">Edit</a>
With this approach the two objects are bound, Item changes when the editedItem is modified. Is there a way to just copy the values without binding the objects?