Implement Memento Pattern For DiagramElement HashMap