Sobes.tech
Junior — Senior

Wrapper class for cloning an array of objects

livecode

Task condition

Implement a wrapper that allows copying an array filled with objects of custom classes. When copying, each element of the result should be a separate instance, not a reference to the original object. You are free to change variable names, but all code blocks (if they appear) must remain unchanged.