RS_Entity* RS_Leader::clone() const{ RS_Leader* p = new RS_Leader(*this); p->setOwner(isOwner()); p->initId(); p->detach(); return p; }