How do you prevent mudflows?

By growing deep rooting vegetation.