preserve

fun preserve(vararg classes: KClass<*>)
fun preserve(vararg properties: KCallable<*>)

Deprecated (with error)

Top-level `exclude`/`preserve` calls in `toDataFrame {}` are deprecated. Move them into each `properties { }` block to configure traversal instead. Will be ERROR in 1.0.