normalize line endings and don't reset radio inputs on clone