put method
Stores master under key (the cache takes ownership of it) and
returns a clone for the caller to use and dispose. The master stays
cached until evicted.
Implementation
ui.Image put(Object key, ui.Image master) => _cache.putAndClone(key, master);