code: def getClonedNode(self, node):
      # If node exists then
      if node:
          # Check if its in the visited dictionary
          if node in self.visited:
              # If its in the visited dictionary then return the new node reference from the dictionary
              return self.visited[node]
          else:
              # Otherwise create a new node, save the reference in the visited dictionary and return it.
              self.visited[node] = Node(node.val, None, None)
              return self.visited[node]
      return None
  
label_desc: Use image node_id 2 for calling the Solution obj's underlying member method code with example usage: obj.getClonedNode(node) and returns: None, self, self