Added a new function: "duplicate-current-line-or-region" with the corresponding keybinding: "C-d".