Asserts for valid `memoize*` args
v1.13.0-SNAPSHOT