[2204.11744] Stability Preserving Data-driven Models With Latent Dynamics