Prevent deoptimization in create

Fixes #3157. @kselden, @eviltrout, is there an appropriate test or benchmark to use to verify this?