Add function to duplicate current line.