Plugin for svg.js to add cloning of entire hierarchies