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 gast
  from tensorflow.python.autograph.pyct import anno
  from tensorflow.python.autograph.pyct import ast_util
  from tensorflow.python.autograph.pyct import loader
  from tensorflow.python.autograph.pyct import parser
  from tensorflow.python.autograph.pyct import pretty_printer
  from tensorflow.python.autograph.pyct import qual_names
  from tensorflow.python.platform import test
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