Simple cache by ID.
Construct this, with an optional cache passthrough method. Use this to add idempotency to memoized objects where needed, such as cloning them or locking them.
Optional
Get the number of memoized items
The number of items memoized in this.
Iterate through the cached objects
Iterate over this.
Add an item to the cache.
Clear the cache
Delete an item from the cache.
True if the item was in the cache.
Get the cached item for a particular id.
Simple cache by ID.