/*(non-Javadoc) @see Lucene.Net.Search.Query#clone() */ public override System.Object Clone() { CustomScoreQuery clone = (CustomScoreQuery)base.Clone(); clone.subQuery = (Query)subQuery.Clone(); clone.valSrcQueries = new ValueSourceQuery[valSrcQueries.Length]; for (int i = 0; i < valSrcQueries.Length; i++) { clone.valSrcQueries[i] = (ValueSourceQuery)valSrcQueries[i].Clone(); } return(clone); }