Add efficient duplication of embedded prepared statement.