code: def test_clone_node_iterables(tmpdir):
      tmpdir.chdir()
  
      def addstr(string):
          return "%s + 2" % string
  
      subject_list = ["sub-001", "sub-002"]
      inputnode = pe.Node(
          niu.IdentityInterface(fields=["subject"]), name="inputnode"
      )
      inputnode.iterables = [("subject", subject_list)]
  
      node_1 = pe.Node(
          niu.Function(
              input_names="string",
              output_names="string",
              function=addstr,
          ),
          name="node_1",
      )
      node_2 = node_1.clone("node_2")
  
      workflow = pe.Workflow(name="iter_clone_wf")
      workflow.connect(
          [
              (inputnode, node_1, [("subject", "string")]),
              (node_1, node_2, [("string", "string")]),
          ]
      )
      workflow.run()
  
file_path: nipype/nipype/pipeline/engine/tests/test_base.py
imports: import pytest
  from ..base import EngineBase
  from ....interfaces import base
  from ....interfaces import utility
  from ...None import engine
label_desc: Use image node_id 5 for calling a global function with example usage: test_clone_node_iterables(tmpdir) and returns: unknown