def copy(self):
        return self.__class__(self.maps[0].copy(), *self.maps[1:])
New ChainMap or subclass with a new copy of maps[0] and refs to maps[1:]
dataset/ETHPy150Open ionelmc/python-aspectlib/src/aspectlib/py2chainmap.py/ChainMap.copy