Creates a new Storage instance for storing objects in memory.
A new Storage instance.
The type of the object to be stored.