Correction to: Nature Communications, published online 12 September 2019.

The original version of this Article contained errors in Fig. 4 and Supplementary Fig. 5. In Fig. 4a, some of the permeance data in each of the three solutions were inadvertently incorrectly transferred from the original data sheets to the plotting software.

The correct version of Fig. 4a is

The incorrect original version of Fig. 4a is

This has been corrected in both the PDF and HTML versions of the Article.

In Supplementary Fig. 5, the SEM image of MOPM-Ni2+ was inadvertently replaced by a duplicate of MOPM-Zn2+. The HTML has been updated to include a corrected version of the Supplementary Information.