deep copy of settings

allows the correct merging of plugin settings