Actually, looking at the code, it cannot happen: the line above the if
statement is fancy indexing, it always creates a copy.