I think this would be a useful thing to have:

```python
wrapped.memoize_cache = cache
return wrapped
```