GROOVY-6969: Set.flatten() should return Set