code: def duplicateList(aList):
      if isinstance(aList, list):
          return list(map(duplicateList, aList))
      return aList
  
file_path: pydlm/pydlm/base/tools.py
imports: import math
label_desc: Use image node_id 1 for calling a global function with example usage: duplicateList(aList) and returns: aList, list