"depending on preference," hence "that may be done or not done according to one's choice," 1765, from option + -al (1).
optimistic
optimization
optimize
optimum
option
optional
optometrist
optometry
opulence
opulent
opus