Immanuel Kant
Immanuel Kant, drawing on Jean-Jacques Rousseau, considered such an action nonmoral.