code: def test_cloning_available(self):
      gop = pm.generator(integers())
      res = gop**2
      shared = pytensor.shared(pm.floatX(10))
      res1 = pytensor.clone_replace(res, {gop: shared})
      f = pytensor.function([], res1)
      assert f() == np.float32(100)
  
imports: import io
  import itertools
  import re
  import cloudpickle
  import numpy
  import pytensor
  import pytensor.tensor
  import pytest
  from pytensor import shared
  from pytensor.tensor.variable import TensorVariable
  import pymc
  from pymc.data import is_minibatch
  from pymc.pytensorf import GeneratorOp, floatX
label_desc: Use image node_id 3 for calling the TestGenerator obj's underlying member method code with example usage: obj.test_cloning_available() without return types