This seems a simple problem to solve. We are working on our project and we need to duplicate an array.
This problem presents itself with more frequency if you are using a reactive state manager that uses only immutable objects.
In general, we have to know if we need a