pub fn find_first_duplicate<T: Ord + Copy>(items: &[T]) -> Option<T>
Returns the first duplicate item found in insertion order.