Sets a new raw data stub for the variant object.
Returns the reference to the modified variant object.