Reference caching and instance comparison.
Available functions
cache.invalidate
Removes the cached Instance entry for the given Instance.
cache.iscached
Returns whether the given Instance has a non-nil entry in the Instance cache.
cache.replace
Sets the cached Instance entry for one Instance to another Instance.
cloneref
Pushes a new Instance reference for the same same underlying Instance and returns it.
compareinstances
Compares the Instance references stored in two Instance object values.