User registration form radio buttons and check boxes

How can I get radio buttons and/or checkboxes input types in the user registration.
This would be useful for e-mail optin/out.

App > Security > Require each user to register … > Configure registration… > User Details > Add…