Bug 973889 - Handle static with objects in XDR/Clone of inner functions. r=wingo