class_docstr: Test the create method for DBSCAN clustering.
class_docstr_tok: ["Test","the","create","method","for","DBSCAN","clustering","."]
docstr: Make sure inputs to the create() method are not mutated.
docstr_tok: ["Make","sure","inputs","to","the","create","(",")","method","are","not","mutated","."]
code: def test_input_mutations(self):
      """
      Make sure inputs to the create() method are not mutated.
      """
      local_sf = copy.copy(self.sf)
      local_dist = copy.deepcopy(self.distance)
      local_radius = copy.deepcopy(self.radius)
      local_min_core_neighbors = copy.deepcopy(self.min_core_neighbors)
  
      local_model = tc.dbscan.create(
          self.sf,
          distance=self.distance,
          radius=self.radius,
          min_core_neighbors=self.min_core_neighbors,
          verbose=False,
      )
  
      assert_sframe_equal(self.sf, local_sf)
      self.assertEqual(self.distance, local_dist)
      self.assertEqual(self.radius, local_radius)
      self.assertEqual(
          self.min_core_neighbors, local_min_core_neighbors
      )
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import copy
  import numpy
  import unittest
  import turicreate
  from .None import util
  from turicreate.util import _assert_sframe_equal
  from turicreate.toolkits._main import ToolkitError
  from .test_knn_classifier import make_classifier_data
  import sys
  import os
label_desc: Use image node_id 2 for calling the CreateTest obj's underlying member method code with example usage: obj.test_input_mutations() without return types