How to duplicate fields and conditions?