Added shadow_copy2 compat option