Copy dict in order to avoid distructive actions.