Ah I see now,
Copy by Value of SGVector copes again only rows/cols/ref-counts, not the data, so after this call, both vectors have the same data. This is good!

BTW Could you do this without references (not needed)? Just have one vector as input and one as output