code: def test_fallback_clone():
      algo = basic.Fallback([basic.Memorized(simple_df), Bias()])
      algo.fit(lktu.ml_test.ratings)
      assert len(algo.algorithms) == 2
  
      clone = lku.clone(algo)
      assert clone is not algo
      for a1, a2 in zip(algo.algorithms, clone.algorithms):
          assert a1 is not a2
          assert type(a2) == type(a1)
  
file_path: lkpy/tests/test_fallback.py
imports: from lenskit.algorithms import basic
  from lenskit.algorithms.bias import Bias
  from lenskit import util
  import pandas
  import numpy
  import binpickle
  import lenskit.util.test
  from pytest import approx
label_desc: Use image node_id 5 for calling a global function with example usage: test_fallback_clone() without return types