This intention changes the setting
Editor -> Code Style -> Kotlin -> Other -> Trailing comma -> Use trailing comma
.