BUG:348461 Fix crash while duplicating a global selection mask
Global selection masks shouldn't be duplicable.