Balance sweeping

With the announcement of the release of the 1037 client there is a feature called balance sweeping.

But nobody seems to know how it works.
Please can someone provide explanation of implementing this and if it requires Json please provide the code so people can actually use this promoted feature.