Copy-paste replaces double-slash \\ with single slash \

I’m trying to copy-paste some Latex equations and something is removing my double slash \. Is there a way to modify default copy-paste behavior?

For instance, when I paste the following equation, the \ is replaced with \

I found a workaround – add HTML segment instead of default. This way copy-paste works as expected