def duplicate_name(self, node: NameExpr) -> NameExpr:
     # This method is used when the transform result must be a NameExpr.
     # visit_name_expr() is used when there is no such restriction.
     new = NameExpr(node.name)
     self.copy_ref(new, node)
     new.is_special_form = node.is_special_form
     return new