implemented config value clone functionality and associated tests