def METHOD_NAME(self, ctx: "mx.context.Context" = None):
    if ctx is None:
        ctx = mx.current_context()
    model_bytes = self.to_bytes()
    copied = METHOD_NAME.deepcopy(self)
    copied._model.initialize(ctx=ctx)
    copied.from_bytes(model_bytes)
    return copied