set method in SGVector wrapper of copy constructor for SWIG interfaces