Adding missing comparison int/double, increase internal variant inits in copy-on-write to use proper initialization macros