API: make sure _is_copy on NDFrame is always available (GH5475)

closes #5475