Clone the config object to stop mutiple instances of the same directive corrupting one another