Allow [SameObject] on array types and object, too.