Cómo clonar un objeto en JavaScript Angular

const food = { beef: 'b', bacon: 'a' }

// "Spread"
{ ...food }

// "Object.assign"
Object.assign({}, food)

// "JSON"
JSON.parse(JSON.stringify(food))
Jolly Jellyfish