HIVE-8793: add clone to work map to SparkWork