Just add \save_transient_properties as expected.
#LyX file created by tex2lyx 2.2
-\lyxformat 503
+\lyxformat 504
\begin_document
\begin_header
+\save_transient_properties true
\origin roundtrip
\textclass article
\begin_preamble
#LyX file created by tex2lyx 2.2
-\lyxformat 503
+\lyxformat 504
\begin_document
\begin_header
+\save_transient_properties true
\origin roundtrip
\textclass article
\begin_preamble
#LyX file created by tex2lyx 2.2
-\lyxformat 503
+\lyxformat 504
\begin_document
\begin_header
+\save_transient_properties true
\origin roundtrip
\textclass article
\use_default_options false
#LyX file created by tex2lyx 2.2
-\lyxformat 503
+\lyxformat 504
\begin_document
\begin_header
+\save_transient_properties true
\origin roundtrip
\textclass article
\use_default_options false
#LyX file created by tex2lyx 2.2
-\lyxformat 503
+\lyxformat 504
\begin_document
\begin_header
+\save_transient_properties true
\origin roundtrip
\textclass article
\begin_preamble
#LyX file created by tex2lyx 2.2
-\lyxformat 503
+\lyxformat 504
\begin_document
\begin_header
+\save_transient_properties true
\origin roundtrip
\textclass article
\begin_preamble
#LyX file created by tex2lyx 2.2
-\lyxformat 503
+\lyxformat 504
\begin_document
\begin_header
+\save_transient_properties true
\origin roundtrip
\textclass article
\begin_preamble
#LyX file created by tex2lyx 2.2
-\lyxformat 503
+\lyxformat 504
\begin_document
\begin_header
+\save_transient_properties true
\origin roundtrip
\textclass article
\begin_preamble
#LyX file created by tex2lyx 2.2
-\lyxformat 503
+\lyxformat 504
\begin_document
\begin_header
+\save_transient_properties true
\origin roundtrip
\textclass article
\begin_preamble
#LyX file created by tex2lyx 2.2
-\lyxformat 503
+\lyxformat 504
\begin_document
\begin_header
+\save_transient_properties true
\origin roundtrip
\textclass memoir
\begin_preamble
#LyX file created by tex2lyx 2.2
-\lyxformat 503
+\lyxformat 504
\begin_document
\begin_header
+\save_transient_properties true
\origin roundtrip
\textclass amsart
\begin_preamble
#LyX file created by tex2lyx 2.2
-\lyxformat 503
+\lyxformat 504
\begin_document
\begin_header
+\save_transient_properties true
\origin roundtrip
\textclass book
\begin_preamble
#LyX file created by tex2lyx 2.2
-\lyxformat 503
+\lyxformat 504
\begin_document
\begin_header
+\save_transient_properties true
\origin roundtrip
\textclass scrbook
\begin_preamble
#LyX file created by tex2lyx 2.2
-\lyxformat 503
+\lyxformat 504
\begin_document
\begin_header
+\save_transient_properties true
\origin roundtrip
\textclass article
\begin_preamble
#LyX file created by tex2lyx 2.2
-\lyxformat 503
+\lyxformat 504
\begin_document
\begin_header
+\save_transient_properties true
\origin roundtrip
\textclass article
\begin_preamble
#LyX file created by tex2lyx 2.2
-\lyxformat 503
+\lyxformat 504
\begin_document
\begin_header
+\save_transient_properties true
\origin roundtrip
\textclass article
\use_default_options false