def unfreeze_as_copy(self) -> AbstractVariable:
    """Returns a new mutable copy of this variable."""
    raise NotImplementedError(
        "unfreeze_as_copy must be overridden by subclasses."
    )
Returns a new mutable copy of this variable.
penzai/core/variables.py