Perhaps you can clone it first?
$.fn.typeaheadCustom = $.fn.typeahead; _.extend($.fn.typeaheadCustom.Constructor.prototype, { render: function (items) {
UPDATE
You may need deep cloning:
$.fn.typeaheadCustom = $.extend(true, $.fn.typeahead, {});
source share