While a video at carscoops purports to explain all the aero tricks used on the Ioniq-6, it failed to do so.

---------------------------------------------------------------------------------------
PS:
As to the shape that's never been seen before, I'd recommend a look at the 2011, Mercedes-Benz F125 concept's roofline.