ESA two-part Proba-3 spacecraft is meant to create artificial solar eclipses
theverge.com
theverge.com
The coronagraph is one example of an instrument that benefits from formation flying, but its actually considered a guest payload on Proba-3. Benefits of formation flying include being able to adjust the distance between the two spacecraft to block more or less of the Sun disk. Also in traditional coronagraphs the occluding disk is held in place with struts that obscure parts of the corona.
Other applications that could benefit are telescopes (radio, optical, X-ray), interferometric SAR, in-space inspection and servicing of existing satellites, to name a few.