this and the copy in 846 could use the new full_like function.