add copy constructor for configuration