Copy default config before overriding

Resolves #878