I'd like to be able to create a copy of a Map with a single value changed so instead of having to first clone the Map object and then calling Map.prototype.set, I'd like to be able to do this in one call.
const newMap = mapObject.with("a", 123);
This is particularly useful when using Maps in react state.