Fix compile time error.

ECJ complained about clone method collision because of type erasure.
Clone method signature was changed to expected one.