    def duplicate(self) -> "Params":
        """
        Uses `copy.deepcopy()` to create a duplicate (but fully distinct)
        copy of these Params.
        """
        return copy.deepcopy(self)
Uses `copy.deepcopy()` to create a duplicate (but fully distinct)
copy of these Params.
allennlp/common/params.py