giza: copy on inheritance