public Map<AddressSpace, S> fork(Map<AddressSpace, S> spaces) {
			return spaces.entrySet()
					.stream()
					.collect(Collectors.toMap(Entry::getKey, e -> fork(e.getValue())));
		}
Produce a deep copy of the given map

@param spaces the map to copy
@return the copy
Ghidra/Framework/Emulation/src/main/java/ghidra/pcode/exec/AbstractLongOffsetPcodeExecutorStatePiece.java