Class.Singleton

This is implementation of a class which always returns the same instance when instantiated.

Use it the same way as you use Class.