@karlnapf made this change while trying clone, it was giving uninilialized memory error in this line -
https://github.com/shogun-toolbox/shogun/blob/develop/src/shogun/base/Parameter.cpp#L3748

clone worked (as in, gave same results) but got some errors while unref-ing the cloned one. will work on it