@Override
    public HitsAggregationResult clone() {
        HitsAggregationResult obj = (HitsAggregationResult)super.clone();
        obj.summaryClass = summaryClass;
        obj.maxHits = maxHits;
        obj.hits = new ArrayList<Hit>();
        for (Hit hit : hits) {
            obj.hits.add((Hit)hit.clone());
        }
        return obj;
    }
Adds a hit to this aggregation result

@param h the hit
@return this object
searchlib/src/main/java/com/yahoo/searchlib/aggregation/HitsAggregationResult.java