code: def test_use_clones():
      np.random.seed(123)
      clf1 = LogisticRegression(solver="liblinear", multi_class="ovr")
      clf2 = RandomForestClassifier(n_estimators=10)
      clf3 = GaussianNB()
      EnsembleVoteClassifier(
          clfs=[clf1, clf2, clf3], use_clones=True
      ).fit(X, y)
  
      assert_raises(
          exceptions.NotFittedError,
          "This RandomForestClassifier instance is not fitted yet."
          " Call 'fit' with appropriate arguments"
          " before using this estimator.",
          clf2.predict,
          X,
      )
  
      EnsembleVoteClassifier(
          clfs=[clf1, clf2, clf3], use_clones=False
      ).fit(X, y)
  
      clf2.predict(X)
  
imports: import random
  import numpy
  import pytest
  from packaging.version import Version
  from sklearn import __version__
  from sklearn import exceptions
  from sklearn.base import clone
  from sklearn.ensemble import RandomForestClassifier
  from sklearn.linear_model import LogisticRegression
  from sklearn.model_selection import GridSearchCV, cross_val_score
  from sklearn.naive_bayes import GaussianNB
  from sklearn.neighbors import KNeighborsClassifier
  from mlxtend.classifier import EnsembleVoteClassifier
  from mlxtend.data import iris_data
  from mlxtend.utils import assert_raises
label_desc: Use image node_id 3 for calling a global function with example usage: test_use_clones() without return types