HIVE-7956: fix cloning HiveKey