Copy dict in order to avoid destructive actions

I can make this optional (opt-out) if needed by there's no need to destruct the original dict.