You can clone with
HTTPS or Subversion.
In PHP Version < 5.2.0, a String-typecast of an object does not invoke its magic toString methods and returns only the ID of the Object. Reported in http://forum.piwik.org/read.php?5,85638,85880#msg-85880. Piwik then fails with an Exception.
(In ) Fixes #2953, manually invoke object's toString()-Method instead of typecasting it.