The most energy-efficient desalination technologies are based on membrane desalination. However, the membranes used for desalination are prone to fouling, the accumulation of scale that results in decreased membrane performance, shorter lifespan, and the need for chemical cleaning, which has