Make a copy of lodash before modifying it.