Please, please also solve the scaling issue in clone, try the code
below in PG to see the issue, the scale attrib distorts cloning
c = paper.ellipse(250,200,40,20).attr({stroke:'red'}).scale(2,2).rotate
(45).translate(10,10);
d = c.clone().translate(5, 5).attr({stroke:'blue'}); //scale gets
applied again when cloned
c = paper.ellipse(50,200,40,20).attr({stroke:'red'}).rotate
(45).translate(10,10);
d = c.clone().translate(5, 5).attr({stroke:'blue'}); //when no scaling
is done, cloning works perfectly
Thanks,
Vignesh
c = paper.ellipse(150,350,70,50).attr({stroke:'red'}).scale(2,2).rotate
(45).translate(10,10);
d = c.clone().translate(5, 5).attr({stroke:'blue'}).scale(1,1);
scale back the cloned shape by applying scale(1,1)
Thanks
Vignesh