I've heard of people using H2O2 for this but I don't know enough about it's possible negative effects to actually recommend it.
What I know does work for sure is a UV sterilizer to clear up a bacterial bloom, but more reasonably, just increase the nutrient export. The free bacteria in the water is feeding on excess nutrients, which is not necessarily from poor maintenance. This is pretty typical in a new tank since there isn't a large population of beneficial organisms to uptake the nutrients yet, but the beneficial bacteria will eventually catch up and the water will clear.
Either way, adding a refugium, adding high quality activated carbon, increasing water change frequency/volume, or more aggressive skimming can all help lower the nutrient levels but it can take some time for the water to clear. A UV sterilizer could clear the water overnight but they're large and expensive.