clone should also create new hashmaps for *types