code: def test_clone():
      """[Ensemble | Sequential] Test cloning."""
      cloned = clone(lc)
  
      params = lc.get_params(deep=False)
      params_cloned = cloned.get_params(deep=False)
  
      for par, param in params.items():
          if par == "stack":
              assert param is not params_cloned[par]
          else:
              assert param is params_cloned[par]
  
file_path: mlens/mlens/ensemble/tests/test_base.py
imports: from mlens.ensemble.base import BaseEnsemble
  from mlens.externals.sklearn.base import clone
  from mlens.testing.dummy import Data, EstimatorContainer
label_desc: Use image node_id 1 for calling a global function with example usage: test_clone() without return types