first attempt for general clone method

-based on TParameter::copy_ptype, copy_stype, copy
-basics are fully unit-tested, automagic tests of all CSGObjects in Shogun to come