I found a solution but not very flexible.
Basically for each painting I make a stringify then a parse. This allows to detach the json object from the original. Because in fact by duplicating the object it creates a kind of instance. So each modification is reflected on each object.
test.Salon = JSON.parse(JSON.stringify(test.Salon));