Memento Pattern implementation in Scala