add Cloneable and more tests for inheriting.
fix nested InheritableHashes with Cloneables in it.