Perform a deep clone for public config display

Fixes issue #77 in which only a shallow clone of the configuration was created.