vector & matrix clone
set methods only for mutable variables
clone vector & matrix using .clone()