protected override bool CloneEntity(IDiagram diagram) { if (!(diagram is UseCaseDiagram useCaseDiagram)) { return(false); } return(((UseCaseDiagram)diagram).InsertUseCase(useCase.Clone())); }