Add undupe_index()