Deep copy of list

I have figured out that the “List Combine With” block generates a JS array.concat statement which results in a shallow copy. I have been unable to find any documentation on how I might create a deep copy of a list (array) of objects. I am assuming it involves a “Map” but that is not documented either.

Any guidance would be appreciated.

Hello @Mark_Cockfield,

To create a deep copy, you can use the following logic:

image

Regards
Nazar