API: Index.duplicated should return np.array

For 2nd issue of #8875.

- Change `Index.duplicated` to return `np.array`. 
Ah, thanks for correction and merge!