Deep copy warning

Sorry, forgot to write that the matrix in my example is 1 x n so Case (2) does the same thing as (1) and (3) as well.

In some cases restructuring the code is likely the best way to go, but for some recursive stuff it’s not that easy though.