API: Index.duplicated should return np.array

For 2nd issue of #8875.

- Change `Index.duplicated` to return `np.array`. 
This was intended for `Series`, but looks not required. Both fixed.