Etymology
Today it means: In a way that is not harmful. Full definition →
From unharmful + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.