Is there a reason you don't just make a shallow copy of the original `enums`?

```
this.enums = new HashMap<String, Value>(enums);
```