Add some additonal functionality to clay.stats

Shamelessly cribbed from @dnathe4th