Add copyShapes().