code: def test_clone(self):
      env = GymEnv(DummyBoxEnv(obs_dim=(2,), action_dim=(2,)))
      embedding_spec = InOutSpec(
          input_space=env.spec.observation_space,
          output_space=env.spec.action_space,
      )
      embedding = GaussianMLPEncoder(embedding_spec)
      clone_embedding = embedding.clone(name="cloned")
      assert clone_embedding.input_dim == embedding.input_dim
      for cloned_param, param in zip(
          clone_embedding.model.parameters.values(),
          embedding.model.parameters.values(),
      ):
          assert np.array_equal(cloned_param, param)
      assert clone_embedding.output_dim == embedding.output_dim
  
file_path: garage/tests/garage/tf/embeddings/test_gaussian_mlp_encoder.py
imports: import pickle
  from unittest import mock
  import akro
  import numpy
  import pytest
  import tensorflow
  from garage import InOutSpec
  from garage.envs import GymEnv
  from garage.tf.embeddings import GaussianMLPEncoder
  from tests.fixtures import TfGraphTestCase
  from tests.fixtures.envs.dummy import DummyBoxEnv
label_desc: Use image node_id 3 for calling the TestGaussianMLPEncoder obj's underlying member method code with example usage: obj.test_clone() without return types