Etymology
Today it means: In an elective manner; by choice. Full definition →
From elective + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.