R28: Add MgShapes::cloneShape(sid).