Uses lodash cloneDeep in order to not use eval