Effects of LDH synthesis and modification on the exfoliation and introduction of a robust anion-exchange procedure