Fix behavior of getClone + useCached.

Fixes #1.