Don't make objCopy crash on non-objects