Monolithic device for modelocking and stabilization of frequency combs.