code: def test_copy_clean_preserves_annotations(self):
      node = parser.parse(
          textwrap.dedent(
              """
        def f(a):
          return a + 1
      """
          )
      )
      anno.setanno(node, "foo", "bar")
      anno.setanno(node, "baz", 1)
      new_node = ast_util.copy_clean(node, preserve_annos={"foo"})
      self.assertEqual(anno.getanno(new_node, "foo"), "bar")
      self.assertFalse(anno.hasanno(new_node, "baz"))
  
imports: import ast
  import collections
  import textwrap
  import unittest
  import gast
  from nvidia.dali._autograph.pyct import anno
  from nvidia.dali._autograph.pyct import ast_util
  from nvidia.dali._autograph.pyct import loader
  from nvidia.dali._autograph.pyct import parser
  from nvidia.dali._autograph.pyct import pretty_printer
  from nvidia.dali._autograph.pyct import qual_names
label_desc: Use image node_id 10 for calling the AstUtilTest obj's underlying member method code with example usage: obj.test_copy_clean_preserves_annotations() without return types