Only clone global nodes between graphs if both graphs have the global.