Added possibility to disable memory caching per Set() call.
This is because in-memory caching of complex structures can have side effects if they are not always deeply cloned.