[BUGFIX] config, return copies of objects

__Tasks:__
- [x] done
- [x] got feedback

__Informations:__

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| Tests pass?   | yes
| Fixed tickets | none
| Doc           | none