Add support for pending events when cloning an object.
Authored by: b_calderwood 2012-02-04
Parent: [r6041]
Child: [r6043]