Headlights are a tricky thing to develop as you want to illuminate as much of the road as possible without blinding oncoming drivers. Toyota has developed a system that that balances these two factors.
Toyota's new LED Array Adaptive High Beam System uses multiple independently controlled LEDs arranged in a single horizontal line to give a wide range of illumination. A front view camera monitors the road and can dim or brighten each LED light allowing for gaps in the illuminated area.
The system not only adapts to oncoming and preceding vehicles, it also will adapt to circumstances such as a wide beam for slow urban driving and a long, narrower beam for highway driving.
I doubt we will get this on the Scion iM, but it will make an appearance on some Toyota vehicles in 2015.