keras/src/saving/object_registration.py/CustomObjectScope/__init__
class CustomObjectScope:    def __init__(self, custom_objects):
        self.custom_objects = custom_objects or {}
        self.backup = None