Prevent cloning of non-object. Delegate to parent method as fallback. MDL-14120 ; merged from 19_STABLE