Add CloneTo<T> method to the Json plugin