code: def clone(model: CRFModelWrapper):
      with tempfile.TemporaryDirectory() as tmpdir:
          file_path = os.path.join(tmpdir, "model")
          model.save(file_path)
          new_model = tf.keras.models.load_model(file_path)
  
      return new_model
  
file_path: addons/tensorflow_addons/text/tests/crf_wrapper_test.py
imports: import os
  import tempfile
  import numpy
  import pytest
  import tensorflow
  from tensorflow_addons.text.crf_wrapper import CRFModelWrapper
label_desc: Use image node_id 4 for calling a global function with example usage: clone(model) and returns: new_model