Replaced usage of RestorableModel.wrap with usage of toRestorable of the
model to clone.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>