<human>:  Give me a Python program to clone objects.
<bot>: Here is a Python program to clone objects

import copy

def clone(obj):
  """
  Clone an object.

  >>> obj = {'a': 1, 'b': 2}
  >>> clone(obj)
  {'a': 1, 'b': 2}
  """
  return copy.deepcopy(obj)

# Enter the object
obj = {'a': 1, 'b': 2}

# Calling the function
print((clone(obj)))

# Printing the result
print(obj)

#Example Output
# {'a': 1, 'b': 2}
# {'a': 1, 'b': 2}

#Remember to inspect code for bugs.