Suggestion merge unique with index tracking
For my usecase I find interesting to merge two sorted arrays keeping only unique values, and to be able to trace the index of each unique value as it is done with the keyword indices=True
in intersect function. In my understanding the current code could be quite close from this so I thought it is an interesting suggestion.