add object-cloning to make field reset work