adding :if-memoized keyword argument to memoize