FYI: Scala's `union` does not remove duplicates, especially not only from the RHS.

    scala> List(1,1) union List(1)
    res19: List[Int] = List(1, 1, 1)