Fixing issue in IE8 and below where the placeholder text for password inputs would be displayed as a password.

Cause: IE8 and below doesn't support changing of a input's type attribute. Changed clone to workaround this.