Preserving structures of stochastic differential equations along numerical solutions