Revert "Avoids using reflection in the applet version."

This reverts commit 1f098b1b43de1f80ffecd18de844249553e719fb.
Implement clone() for FieldSolver and SimpleSolver.

The use of reflection is avoided in this way.