swap out dirty clone for _.cloneDeep